/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Nov 18, 2014, 11:18:11 AM
    Author     : dt206237
*/

html, body {
    margin: 0;
    font-family: Tahoma;
    font-size: 14px;
    background: #666;
}

.toolbar {
    position: fixed;
    width: 100%;
    z-index: 99999;
}

header {
    margin: 0;
    padding-left: 10px;
    height: 150px;
    line-height: 150px;
    background: #999;
    color: #fff;
    border-bottom: 1px solid #000;
}

header h1 {
    margin-top: 0;
}

.contrainer {
    margin: 0;
    width: 100%;
    height: auto;
}

.content-box {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.menu {
    margin: 0 auto;
    padding: 0;
    width: 1020px;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #000;
    background: #ccc;
}

.menu nav,
.menu nav ul {
    margin: 0;
    padding: 0;
}

.menu nav ul li {
    margin: 0;
    margin-left: 10px;
    display: inline-block;
    list-style: none;
}

.menu nav ul li button,
.menu nav ul li select {
    padding: 5px;
    outline: none;
    cursor: pointer;
}

.menu nav ul li input[type=text] {
    padding: 5px;
    outline: none;
}

.menu nav ul li button {
    width: 100px;
}

.content-box article {
    margin: 0 auto;
    padding: 10px;
    width: 1000px;
    height: auto;
    background: #fff;
}

.content-box article section {
    position: relative;
    margin-bottom: 10px;
    height: auto;
}

.end-of-section {
    clear: both;
    margin: 0;
    padding: 0;
}

.top-box {
    display: none;
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #666;
    border-radius: 50%;
    cursor: pointer;
    background: #fff;
    font-weight: bold;
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    z-index: 9999;
}

.bottom-box {
    display: none;
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #666;
    border-radius: 50%;
    cursor: pointer;
    background: #fff;
    font-weight: bold;
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    z-index: 9999;
}

.top-box:hover, .bottom-box:hover {
    opacity: 1;
    filter: alpha(opacity=1); /* For IE8 and earlier */
    background: #fff;
}

.text {
    width: auto;
    min-height: 200px;
}

.text:hover {
    outline: 1px solid #f4c678;
}

.img {
    margin: 0 auto;
    position: relative;
    width: 99.5%;
    height: 400px;
    border: 1px solid #999;
    border-radius: 5px;
    background: #fff;
    z-index: 99;
}

.img img {
    width: 100%;
    height: 100%;
}

.img iframe {
    width: 100%;
    height: 100%;
}

.img-left {
    float: left;
    width: 200px;
    height: 200px;
    margin-right: 10px;
}

.img-right {
    float: right;
    width: 200px;
    height: 200px;
    margin-left: 10px;
}

.img-both {
    margin-left: 0;
    margin-right: 0;
    width: 49.5%;
    height: 300px;
}

.block {
    cursor: pointer;
    background: #ccc;
}

/*.shadow {
   -moz-box-shadow:    inset 0 0 10px #000000;
   -webkit-box-shadow: inset 0 0 10px #000000;
   box-shadow:         inset 0 0 10px #000000;
}*/

.shadow {
    -moz-box-shadow:    inset 0 0 1px #ccc, 0 0 10px #000;
    -webkit-box-shadow: inset 0 0 1px #ccc, 0 0 10px #000;
    box-shadow:         inset 0 0 1px #ccc, 0 0 10px #000;
}

.delete {
    position: absolute;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border: 1px solid #000;
    border-radius: 45%;
    background: #fff;
    z-index: 10000;
    right: -10px;
    top: -10px;
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    z-index: 9999;
}

.up {
    display: none;
    position: absolute;
    width: 16px;
    height: 16px;
    left: -8px;
    top: 0;
    background: url(../images/up.png) no-repeat;
    background-size: 16px 16px;
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    z-index: 10000;
}

.down {
    display: none;
    position: absolute;
    width: 16px;
    height: 16px;
    left: -8px;
    top: 26px;
    background: url(../images/down.png) no-repeat;
    background-size: 16px 16px;
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    z-index: 10000;
}

.delete:hover, .up:hover, .down:hover {
    cursor: pointer;
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

.image-upload {
    display: none;
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 28px;
    height: 28px;
    background: url(../images/image-upload.png) no-repeat;
    background-size: 28px 28px;
    cursor: pointer;
}

.youtube-upload {
    display: none;
    position: absolute;
    right: 48px;
    bottom: 10px;
    width: 28px;
    height: 28px;
    background: url(../images/youtube-upload.png) no-repeat;
    background-size: 28px 28px;
    cursor: pointer;
}

.dialog-overlay {
    background: #000;
    opacity: .30;
    filter: Alpha(Opacity=30);
}
